import request from '@/utils/request.js'

const api_name = `/api/author`

export default {
  //发送短信方法
  sendCode(phone) {
    return request({
      url: `${api_name}/send/${phone}`,
      method: 'GET'
    })
  }
}
